<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Hello SyntaxHighlighter</title>
	<script type="text/javascript" src="highlightjs/js/highlight.pack.js"></script>

	<script type="text/javascript" src="highlightjs/js/highlightjs-line-numbers.min.js"></script>
<script>

	hljs.initHighlightingOnLoad();
	hljs.initLineNumbersOnLoad();
	</script>
	<!-- jquery -->
<script src="bootstrap/js/jquery.min.js"></script>
	<link type="text/css" rel="stylesheet" href="highlightjs/css/github-gist.css"/>
	<link type="text/css" rel="stylesheet" href="highlightjs/css/hljs-line-number.css">


</head>

<body >

<pre><code class="json" id="code">
123123
</code>
</pre>
<pre><code class="json" id="code2">
123123
</code>
</pre>
<script>

$(function(){
$.ajax({
	type : "POST",
	datatyp : "json",
	data : {
		_method:'PATCH',
		page : 1,
		rows : 10,
		orgId : 1,
		
		
	},
	async : false,
	cache : false,
	url : "clock/clock",
	success : function(data) {
		json = data.rows;
		console.info($("#code"));
	
		$("#code").text(JSON.stringify(json,null,4));
	}
});


$.ajax({
	type : "POST",
	datatyp : "json",
	async : false,
	cache : false,
	url : "http://php.weather.sina.com.cn/iframe/index/w_cl.php?code=js%20&day=2&city=合肥&dfc=3",
	success : function(data) {
		json = data.rows;
		console.info($("#code2"));
	
		$("#code2").text(JSON.stringify(json,null,4));
	}
});
});



</script>

</body>
</html>
